home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gui / muibuilderv11.lha / muibuilder / mb / c / DMakeFile < prev    next >
Makefile  |  1994-03-24  |  718b  |  34 lines

  1. # DMakefile
  2. # for MUIBuilder-generated Code
  3. # by Christian Brandel
  4.  
  5. # specify the directory of the code here:
  6. OD =
  7.  
  8. # linked libraries
  9. LIBS = -lmui -lamiga30s -lc
  10.  
  11. # destination of the executable
  12. DEST = Click Characters
  13.  
  14. # sources that are compiled seperatly and ...
  15. SRCS = Characters.c Click.c ClickMain.c
  16.  
  17. # ...are all linked together later
  18. OBJS = $(SRCS:"*.c":"$(OD)*.o")
  19.  
  20. # compiler options (do not change)
  21. OPTS-GLOBAL = -ms -mRR -mi -3.0
  22.  
  23. # compiler options (change according to your preferences)
  24. OPTS-LOCAL = -I$(OD) -//
  25.  
  26.  
  27. all: $(DEST)
  28.  
  29. $(DEST) : $(OBJS)
  30.    dcc $(OPTS-GLOBAL) $(OPTS-LOCAL) $(OBJS:"$(OD)*.o":"*.o") -o%(left) $(LIBS)
  31.  
  32. $(OBJS) : $(SRCS)
  33.    dcc %(right) -o %(left) $(OPTS-GLOBAL) $(OPTS-LOCAL) -c
  34.